public class lpy {
    public static void main (String[] args){
        int beernum =99;
        String word = "bottle";
        while (beernum>0){
            if (beernum == 1){
                word = "bootle";
            }

            System.out.print(beernum+""+word+"of beer on the wall");
            System.out.println(beernum+""+"of beer");
            System.out.println("Take one down.");
            System.out.println("passit around.");
            beernum = beernum -1;



        }

    }


}
